package com.wiegand.util {
	import Math;

	/**
	 * @author kw
	 */
	 
	public class RandomNumber {	
			
		static public function create( lowerLimit : Number, upperLimit : Number, round : Boolean = false ) : Number{
					
			var random : Number = Math.random() * (upperLimit - lowerLimit) + lowerLimit;
					
			if( round ) random = Math.round( random );		
					
			return random;
			
		}
	
	}
}
